﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using nERP.Model.Rpt;
using nERP.Model;

namespace nERP.ViewModel.Rpt.DashboardVMs
{
    public partial class DashboardTemplateVM : BaseTemplateVM
    {
        
        [Display(Name = "_Model._Dashboard._PoAmount")]
        public ExcelPropety PoAmount_Excel = ExcelPropety.CreateProperty<Dashboard>(x => x.PoAmount);
        [Display(Name = "_Model._Dashboard._PoAmounted")]
        public ExcelPropety PoAmounted_Excel = ExcelPropety.CreateProperty<Dashboard>(x => x.PoAmounted);
        [Display(Name = "_Model._Dashboard._SoAmount")]
        public ExcelPropety SoAmount_Excel = ExcelPropety.CreateProperty<Dashboard>(x => x.SoAmount);
        [Display(Name = "_Model._Dashboard._SoAmounted")]
        public ExcelPropety SoAmounted_Excel = ExcelPropety.CreateProperty<Dashboard>(x => x.SoAmounted);
        [Display(Name = "_Model._Dashboard._PayAmount")]
        public ExcelPropety PayAmount_Excel = ExcelPropety.CreateProperty<Dashboard>(x => x.PayAmount);
        [Display(Name = "_Model._Dashboard._PayAmounted")]
        public ExcelPropety PayAmounted_Excel = ExcelPropety.CreateProperty<Dashboard>(x => x.PayAmounted);
        [Display(Name = "_Model._Dashboard._ReceivableAmount")]
        public ExcelPropety ReceivableAmount_Excel = ExcelPropety.CreateProperty<Dashboard>(x => x.ReceivableAmount);
        [Display(Name = "_Model._Dashboard._ReceivableAmounted")]
        public ExcelPropety ReceivableAmounted_Excel = ExcelPropety.CreateProperty<Dashboard>(x => x.ReceivableAmounted);
        [Display(Name = "_Model._Dashboard._Monthly")]
        public ExcelPropety Monthly_Excel = ExcelPropety.CreateProperty<Dashboard>(x => x.Monthly);
        [Display(Name = "_Model._Dashboard._TenantCode")]
        public ExcelPropety TenantCode_Excel = ExcelPropety.CreateProperty<Dashboard>(x => x.TenantCode);

	    protected override void InitVM()
        {
            
        }

    }

    public class DashboardImportVM : BaseImportVM<DashboardTemplateVM, Dashboard>
    {
            //import

    }

}